<?php
/*
 * dragon.hu add 2015.6.16  gangfight
*/

defined('BASEPATH') or die('forbidden');

class Gangfight_Controller extends Controller
{
	function _init()
	{
		check_level(50, segment(0), segment(1), segment(2, 'index'));
		set_time_limit(0);
		
		$areanum = $_SESSION['area_selected_id'];
		if ($areanum == '')
		{
			echo "<script>alert('".translate('C_SELECT_AREA_TEXT')."');</script>";
			return;
		}
		
	}	
	
	function flexigrid()
	{
		list($colkey, $colsinfo, $where, $sortname, $sortorder, $offset, $rp, $page) = $this->common->get_flexigrid_params();
		
	}
	
	function index()
	{
		$this->view->display("logbattle/gangfight/index");
	}
}

?>